package com.trdcore.zyzkt.model.user;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.trdcore.zyzkt.model.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "UserInfo")
@TableName("user_info")
public class UserInfo extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Schema(title ="手机号")
	@TableField("phone")
	private String phone;

	@Schema(title ="用户密码")
	@TableField("password")
	private String password;

	@Schema(title ="用户姓名")
	@TableField("name")
	private String name;

	@Schema(title ="昵称")
	@TableField("nick_name")
	private String nickName;

	@Schema(title ="性别")
	@TableField("sex")
	private Integer sex;

	@Schema(title ="头像")
	@TableField("avatar")
	private String avatar;

	@Schema(title ="省")
	@TableField("province")
	private String province;

	@Schema(title ="0：未订阅 1：已订阅")
	@TableField("subscribe")
	private Integer subscribe;

	@Schema(title ="小程序open id")
	@TableField("open_id")
	private String openId;

	@Schema(title ="微信开放平台unionID")
	@TableField("union_id")
	private String unionId;

	@Schema(title ="推荐人用户id")
	@TableField("recommend_id")
	private Long recommendId;

	@Schema(title ="status")
	@TableField("status")
	private Integer status;

}